package com.iflytek.management.mapper;

import org.apache.ibatis.annotations.Update;

import com.iflytek.management.pojo.ProjectUserRole;
import com.iflytek.management.pojo.ProjectUserRoleKey;

public interface ProjectUserRoleMapper {
    int deleteByPrimaryKey(ProjectUserRoleKey key);

    int insert(ProjectUserRole record);

    int insertSelective(ProjectUserRole record);

    ProjectUserRole selectByPrimaryKey(ProjectUserRoleKey key);
    
    @Update("update project_user_role set userid=#{userid} where proid=#{proid}")
    int updateByProid(ProjectUserRole projectUserRole);

    int updateByPrimaryKey(ProjectUserRole record);
}